<div class="row-fluid">
	<div class="span12">
		<div class="box">
			<div class="box-head tabs">
				<h3>Language Settings</h3>
                                <!--
                                <ul class='nav nav-tabs'>
                                    <li<?php if($view->lang == "no"){ ?> class='active'<?php } ?>>                        
                                        <a href="?action=languagesetting&lang=no" style="cursor:pointer;">no</a>
                                    </li>                                                                           
                                    <li<?php if($view->lang == "se"){ ?> class='active'<?php } ?>>                        
                                        <a href="?action=languagesetting&lang=se" style="cursor:pointer;">se</a>
                                    </li>  
                                    <li<?php if($view->lang == "en"){ ?> class='active'<?php } ?>>                        
                                        <a href="?action=languagesetting&lang=en" style="cursor:pointer;">en</a>
                                    </li> 
                                </ul>
                                -->
			</div>
			<div class="box-content">
                        <?php if(count($_POST) > 0){?>
                        <div class="alert alert-info">
                            Data saved succsesfully
                        </div>
                        <?php } ?>
			<?php if($view->error){?>
			<div class="alert alert-error"><?php echo $view->error;?></div>
			<?php } ?>
				<form action="" class="form-horizontal" method="post">
                                    <input type="hidden" value="<?php echo $view->lang;?>" name="lang" />
					<fieldset>
						<!-- <legend>Legend text</legend> -->
                                                <?php foreach($view->langs as $k => $v) { ?>
						<div class="control-group">
							<label for="basicround" class="control-label"><?php echo $k;?></label>
							<div class="controls">
                                                            <textarea style="width: 400px;" name="data[<?php echo $k;?>]" id="<?php echo $k;?>"><?php echo $v;?></textarea>								
							</div>
						</div>    
                                                <?php } ?>
						<div class="form-actions">
							<button class="btn btn-primary" type="submit">Save</button>							
						</div>						
					</fieldset>
				</form>
			</div>
		</div>
	</div>
</div>
